$(function(){
    $('#shippingAddressRequired').on('click',function () {
        var status = $('input[name="shippingAddressRequired"]').prop('checked');
        if (status) {
            $('.tab2').css("display","block");
        }else{
            $('.tab2').css("display","none");
        }
    })
})